package xiaojun.JAVA.domain.vo;

/**
 * 视图对象类型·角色
 *
 * @author 赖晓君
 * @since 2025/6/5  09:34
 */
public class RoleVo extends BaseVo{

    /**
     * 角色名称
     */
    public String name;

    /**
     * 角色电话
     */
    public String dateScope;

    public RoleVo() {
    }

    public RoleVo(int id, String name, String dateScope) {
        super(id);
        this.name = name;
        this.dateScope = dateScope;
    }

    @Override
    public String toString() {
        return String.format("ID：%d,名称:%s,数据访问范围:%s", id, name, dateScope);
    }
}
